package io.other_stream;

import java.io.FileNotFoundException;
import java.io.PrintStream;

public class Print_Stream {
    public static void main(String[] args) throws FileNotFoundException {
        /*
        使用字节打印流写入数据
         */
        PrintStream printStream = new PrintStream("D:\\wangdao_study\\studyHard\\wzx.txt");

        printStream.println(10000);
        printStream.print(9527.000);
        printStream.print(false);
        printStream.println(111111111111L);

    }
}
